package com.liuqi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liuqi.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface RoleMapper  extends BaseMapper<Role> {

    @Select("select id from sys_role where flag=#{flag}")
    Integer selectByFlag(String flag);
}
